//
//  huaiheManger.m
//  huaihe
//
//  Created by 暗流澎涌 on 2024/3/7.
//

#import "huaiheManger.h"

@implementation huaiheManger

+(void)setfirstComing{
    [[NSUserDefaults standardUserDefaults]setBool:YES forKey:@"huaiheComing"];
    [[NSNotificationCenter defaultCenter] postNotificationName:@"huaiheComing" object:nil];
  
}

+(BOOL)obtainfirstComing{
    return  [[NSUserDefaults standardUserDefaults] boolForKey:@"huaiheComing"];
}


+(void)setmuicLong:(NSInteger)times{
    [[NSUserDefaults standardUserDefaults]setInteger:times forKey:@"muiceTime"];
    
}

+(NSInteger)obtainmuicLong{
    
    return  [[NSUserDefaults standardUserDefaults] integerForKey:@"muiceTime"];
    
    
}

@end
